package com.lpinfo.spca.configserver;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.config.server.EnableConfigServer;

/**
 * 配置中心统一91xx端口
 * @EnableDiscoveryClient 注册到注册中心
 * @EnableConfigServer 配置中心
 */
@EnableDiscoveryClient
@EnableConfigServer
@SpringBootApplication
public class LpinfoSpcaConfigserverApplication {

    public static void main(String[] args) {
        SpringApplication.run(LpinfoSpcaConfigserverApplication.class, args);
    }

}
